<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>职位管理</title>
	<link rel="stylesheet" type="text/css" href="/lib/bootstrap/css/bootstrap.min.css">
</head>
<body>
	<div class="container">
		<header></header>
		<button class="btn btn-primary" data-toggle="modal" data-target="#addModal">添加职位</button>
		<div class="modal fade" id="addModal" tabindex="-1">
			  <div class="modal-dialog" role="document">
			    <div class="modal-content">
			      <div class="modal-header">
			        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			        <h4 class="modal-title" id="addModalLabel">添加职位</h4>
			      </div>
			      <div class="modal-body">
			      	<div class="alert alert-danger hidden add-err">添加出错！</div>
			        <form class="form-add">
			          <div class="form-group">
			            <label for="addCompany">公司名称</label>
			            <input type="text" class="form-control" id="company" name="addCompany" placeholder="公司名称">
			          </div>
			          <div class="form-group">
			            <label for="addLogo">公司logo</label>
			            <input type="file" class="form-control" id="addLogo" name="logo">
			          </div>
			          <div class="form-group">
			            <label for="addPosition">职位名称</label>
			            <input type="text" class="form-control" name="position" id="addPosition" placeholder="职位名称">
			          </div>
			          <div class="form-group">
			            <label for="addSalary">薪资</label>
			            <input type="text" class="form-control" name="salary" id="addSalary" placeholder="薪资">
			          </div>
			          <div class="form-group">
			            <label for="addAddress">工作地点</label>
			            <input type="text" class="form-control" name="address" id="addAddress" placeholder="工作地点">
			          </div>
			        </form>
			      </div>
			      <div class="modal-footer">
			        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
			        <button type="button" class="btn btn-primary" id="btn-add">添加</button>
			      </div>
			    </div>
			  </div>
			</div>
	</div>
	<script src="/lib/requirejs/require.js" data-main="/js/position/index"></script>
</body>
</html>